/*
 * @Author: 米亚流年 miyaliunian@gmail.com
 * @Date: 2024-02-21 14:13:32
 * @LastEditors: 米亚流年 miyaliunian@gmail.com
 * @LastEditTime: 2024-02-21 14:14:12
 * @FilePath: /Component-Gallery/docs/plugins/utils/handle-markdown-srouce-merge-code.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import tsToJs from './ts-to-js'

function handleMarkDownSourceMergeCode({ parts, mergedParts, isVue }) {
  mergedParts.jsCode = mergedParts.markdownSource
    ? mergedParts.markdownSource.trim()
    : ''
}

export default handleMarkDownSourceMergeCode
